package com.ruoyi.technician.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 分成设置对象 t_grade_config
 * 
 * @author ruoyi
 * @date 2025-04-07
 */
public class GradeConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 分成等级ID */
    private Long id;

    /** 等级名称 */
    @Excel(name = "等级名称")
    private String gradeName;

    /** 常规项目分成比例（%） */
    @Excel(name = "常规项目分成比例", readConverterExp = "%=")
    private BigDecimal splitProportions;

    /** 升级套餐分成比例（%） */
    @Excel(name = "升级套餐分成比例", readConverterExp = "%=")
    private BigDecimal upgradeProportions;

    /** 第一次加钟分成比例（%） */
    @Excel(name = "第一次加钟分成比例", readConverterExp = "%=")
    private BigDecimal continuationProportions;

    /** 第二次加钟分成比例（%） */
    @Excel(name = "第二次加钟分成比例", readConverterExp = "%=")
    private BigDecimal continuationSecondProportions;

    /** 最低成交额 */
    @Excel(name = "最低成交额")
    private BigDecimal miniTurnover;

    /** 续钟率（%） */
    @Excel(name = "续钟率", readConverterExp = "%=")
    private BigDecimal continuationRate;

    /** 逻辑删除（0=未删除，1=已删除） */
    private Integer isDelete;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setGradeName(String gradeName) 
    {
        this.gradeName = gradeName;
    }

    public String getGradeName() 
    {
        return gradeName;
    }
    public void setSplitProportions(BigDecimal splitProportions) 
    {
        this.splitProportions = splitProportions;
    }

    public BigDecimal getSplitProportions() 
    {
        return splitProportions;
    }
    public void setUpgradeProportions(BigDecimal upgradeProportions) 
    {
        this.upgradeProportions = upgradeProportions;
    }

    public BigDecimal getUpgradeProportions() 
    {
        return upgradeProportions;
    }
    public void setContinuationProportions(BigDecimal continuationProportions) 
    {
        this.continuationProportions = continuationProportions;
    }

    public BigDecimal getContinuationProportions() 
    {
        return continuationProportions;
    }
    public void setContinuationSecondProportions(BigDecimal continuationSecondProportions) 
    {
        this.continuationSecondProportions = continuationSecondProportions;
    }

    public BigDecimal getContinuationSecondProportions() 
    {
        return continuationSecondProportions;
    }
    public void setMiniTurnover(BigDecimal miniTurnover) 
    {
        this.miniTurnover = miniTurnover;
    }

    public BigDecimal getMiniTurnover() 
    {
        return miniTurnover;
    }
    public void setContinuationRate(BigDecimal continuationRate) 
    {
        this.continuationRate = continuationRate;
    }

    public BigDecimal getContinuationRate() 
    {
        return continuationRate;
    }
    public void setIsDelete(Integer isDelete) 
    {
        this.isDelete = isDelete;
    }

    public Integer getIsDelete() 
    {
        return isDelete;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("gradeName", getGradeName())
            .append("splitProportions", getSplitProportions())
            .append("upgradeProportions", getUpgradeProportions())
            .append("continuationProportions", getContinuationProportions())
            .append("continuationSecondProportions", getContinuationSecondProportions())
            .append("miniTurnover", getMiniTurnover())
            .append("continuationRate", getContinuationRate())
            .append("isDelete", getIsDelete())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
